//
//	MCBodyDataStatisticsAbdomenHistory.swift
//	Model file generated using JSONExport: https://github.com/Ahmed-Ali/JSONExport

import Foundation 
import ObjectMapper


class MCBodyDataStatisticsAbdomenHistory : NSObject, NSCoding, Mappable{

	var recordTime : String?
	var value : String?


	class func newInstance(map: Map) -> Mappable?{
		return MCBodyDataStatisticsAbdomenHistory()
	}
	required init?(map: Map){}
	private override init(){}

	func mapping(map: Map)
	{
		recordTime <- map["recordTime"]
		value <- map["value"]
		
	}

    /**
    * NSCoding required initializer.
    * Fills the data from the passed decoder
    */
    @objc required init(coder aDecoder: NSCoder)
	{
         recordTime = aDecoder.decodeObject(forKey: "recordTime") as? String
         value = aDecoder.decodeObject(forKey: "value") as? String

	}

    /**
    * NSCoding required method.
    * Encodes mode properties into the decoder
    */
    @objc func encode(with aCoder: NSCoder)
	{
		if recordTime != nil{
			aCoder.encode(recordTime, forKey: "recordTime")
		}
		if value != nil{
			aCoder.encode(value, forKey: "value")
		}

	}

}